@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-4 b-r">
                            <#input id="name" name="名字" value="${item.name}" underline="true"/>
                            <#select id="sex" name="性别"  underline="true">
								<option value="1" ${item.sex==1?'selected':''}>男</option>
								<option value="2" ${item.sex==2?'selected':''}>女</option>
							</#select>
                            <#input id="age" name="年龄" value="${item.age}" underline="true"/>
                            <#input id="school" name="学校" value="${item.school}" underline="true"/>
                           
							
                </div>

                <div class="col-sm-4">
                 			<#input id="phone" name="电话号码" value="${item.phone}" underline="true"/>
							<#select id="type" name="费用类型" underline="true" >
                            	<option value="1" ${item.type==1?'selected':''}>报名费用</option>
								<option value="2" ${item.type==2?'selected':''}>装备费用</option>
								<option value="3" ${item.type==3?'selected':''}>报名及装备费用</option>
							</#select>
                            <#input id="money" name="费用（元）" value="${item.money}" underline="true"/>
                            <#select id="fromTo" name="来源" underline="true" >
			                    <option value="1" ${item.fromTo==1?'selected':''}>个人</option>
								<option value="2" ${item.fromTo==2?'selected':''}>学校</option>
							</#select>
                            
                </div>
                
                <div class="col-sm-4">
                          <#input id="registTime" name="进账日期" value="${item.registTime}" underline="true"  clickFun="laydate({istime:false,format:'YYYY-MM-DD'})"/>
                            <#select id="level" name="等级" underline="true">
								<option value="1" ${item.level==1?'selected':''}>课时数</option>
								<option value="2" ${item.level==2?'selected':''}>月卡</option>
								<option value="3" ${item.level==3?'selected':''}>年卡</option>
							</#select>
                            <#input id="classNumber" name="课时" value="${item.classNumber}" underline="true"/>
                            <#input id="remark" name="备注" value="${item.remark}" />
                </div>
                
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="IncomeInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="IncomeInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/income/income/income_info.js"></script>
@}
